using UnityEditor;
using UnityEngine;

namespace Yoozoo.Core.Common.Editor
{
    [CustomEditor(typeof(ParticleQualityListener))]
    public class ParticleQualityListenerEditor : UnityEditor.Editor
    {
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            if (GUILayout.Button("获取当前粒子分级对象"))
            {
                (target as ParticleQualityListener)?.GetGradingParticleObject();
            }
        }
    }
}